package com.sakila.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sakila.pojo.Role;
import com.sakila.pojo.Staff;
import com.sakila.pojo.Store;

public interface StaffDao extends BaseDao<Staff> {
	List<Staff> findByProperties(Staff staff);
	List<Staff> findByHasNotRoles(@Param("store")Store store, @Param("roles")List<Role> roles);
}
